{include file="header.tpl"}

{if $catalog_id != ''}
<p><a href="article_add.php">Add article</a></p>
{/if}
<select onchange="list_catalog(this.value)">

<option>Chon Catalog</option>
{foreach from=$catolog_arr item=item}
{if item.id == $catalog_id}
<option value="{$data_catalog.catalog_id}" selected="selected">{$data_catalog.catalog_name}</option>
{else}
<option value="{$data_catalog.catalog_id}" >{$data_catalog.catalog_name}</option>
{/if}
{/foreach}
</select>
<div>
<ol>
{foreach from=$data_article item=data_article}
<li>
{$data_article.title}
{$data_article.sabo} <a href="article_edit.php"?catalog_id=".$data_catalog.catalog_id." &artilcle_id=".$data_article.article_id.">Edit</a>
<br />
</li>

{/foreach}

</ol>
</div>
{literal}

<script src="../data/javascript/javascript.js" type="text/javascript">//lay duoc hotel_id <-- tin tu file article/view -->
</script>
{/literal}
{include file="footer.tpl"}